package pl.symulatorbiegu;

import java.util.ArrayList;
import java.util.Random;

/**
 * Created by Lukas on 09.12.13.
 */
public class HeatSimulatorMock extends HeatSimulator {

    public HeatSimulatorMock(ArrayList<Double> values) {
        super(values);
    }

    @Override
    public void simulateHeat() {
        Random rand = new Random(100);
        for (Double initialValue : initialValues) {
            simulatedValues.add(initialValue + rand.nextDouble());
        }
        getHeatResults();
    }
}
